package com.wz.project.cxtj.viewstockdetail.service;

import com.wz.project.cxtj.viewstockdetail.domain.ViewStockDetailed;

import java.util.List;

/**
 * 库存明细Service接口
 * 
 * @author wz
 * @date 2022-05-18
 */
public interface IViewStockDetailedService 
{
    /**
     * 查询库存明细
     * 
     * @param stockId 库存明细ID
     * @return 库存明细
     */
    public ViewStockDetailed selectViewStockDetailedById(String stockId);

    /**
     * 查询库存明细列表
     * 
     * @param viewStockDetailed 库存明细
     * @return 库存明细集合
     */
    public List<ViewStockDetailed> selectViewStockDetailedList(ViewStockDetailed viewStockDetailed);

    /**
     * 新增库存明细
     * 
     * @param viewStockDetailed 库存明细
     * @return 结果
     */
    public int insertViewStockDetailed(ViewStockDetailed viewStockDetailed);

    /**
     * 修改库存明细
     * 
     * @param viewStockDetailed 库存明细
     * @return 结果
     */
    public int updateViewStockDetailed(ViewStockDetailed viewStockDetailed);

    /**
     * 批量删除库存明细
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteViewStockDetailedByIds(String ids);

    /**
     * 删除库存明细信息
     * 
     * @param stockId 库存明细ID
     * @return 结果
     */
    public int deleteViewStockDetailedById(String stockId);
}
